package com.oha.laporrayelchurro.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet de /
 * @author oscarha
 *
 */
public class HomeServlet extends BaseServlet{

	/**
	 * serial
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * doGet
	 * @throws ServletException 
	 */
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
//		resp.setContentType("text/plain");
//		resp.getWriter().println("Hello, world");
		goToView(req, resp, "/pages/home.jsp");
	}
	
	
}
